<%--
  User: Shengzhao Li
  Date: 13-8-21
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div>
    <input type="hidden" value="${checkSprintStartDto.pass}" id="checkSprintStartPass"/>
    <c:if test="${checkSprintStartDto.pass}">
        <div class="alert alert-info alert-block">
            <p>
                Are you sure start to do the Sprint(${checkSprintStartDto.name}) now ?
            </p>

            <p>
                The Sprint period is from <strong>${checkSprintStartDto.startDate}</strong> to
                <strong>${checkSprintStartDto.deadline}</strong>.
            </p>
        </div>
    </c:if>
    <c:if test="${not checkSprintStartDto.pass}">
        <div class="alert alert-block">
            <h4>Oops! </h4>

            <p>
                The Sprint(${checkSprintStartDto.name}) start date is
                <strong>${checkSprintStartDto.startDate}</strong>, but today is
                <strong>${checkSprintStartDto.today}</strong>.
            </p>

            <p>
                Please edit the Sprint for change the start date to today firstly, click 'Confirm' button go to the
                Sprint form.
            </p>
        </div>
    </c:if>
</div>